package cool.taomu.toolkit.hikaricp.test

import com.google.inject.Key
import cool.taomu.toolkit.Taomu
import cool.taomu.toolkit.annotations.datasource.Primary
import javax.sql.DataSource
import org.junit.jupiter.api.Test

class DruidTest {
    @Test
    def void a() {
        var test = Taomu.run.getInstance(Key.get(DataSource,Primary))
        test.connection.close
    }
}
